internal/reflectlite.Value.typ (method)
15 uses
internal/reflectlite (current package)
value.go#L93: func (v Value) typ() *abi.Type {
value.go#L105: if v.typ().Size() != goarch.PtrSize || !v.typ().Pointers() {
value.go#L116: t := v.typ()
value.go#L235: if v.typ().NumMethod() == 0 {
value.go#L256: tt := (*ptrType)(unsafe.Pointer(v.typ()))
value.go#L341: tt := (*arrayType)(unsafe.Pointer(v.typ()))
value.go#L359: if v.typ() == nil {
value.go#L362: return v.typ().NumMethod()
value.go#L375: x = x.assignTo("reflectlite.Set", v.typ(), target)
value.go#L377: typedmemmove(v.typ(), v.ptr, x.ptr)
value.go#L390: return toRType(v.typ())
value.go#L420: case directlyAssignable(dst, v.typ()):
value.go#L427: case implements(dst, v.typ()):
value.go#L447: panic(context + ": value of type " + toRType(v.typ()).String() + " is not assignable to type " + toRType(dst).String())
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |